package com.dao;

import java.util.List;
import java.util.Map;

import com.model.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKeyWithBLOBs(User record);

    int updateByPrimaryKey(User record);
    
    List<User> selectAllUsers(Map<Object, Object> map);
    
    int countUsers(Map<Object, Object> map);
    
    List<User> findUserByNo(String no);
    
    int countUserByNo(String no);

}